package xj;

import java.util.Scanner;

public class First {

    public static void main(String[] args) {
       /* byte s = 88;
        float x = 6.6f;
        int a = 1;*/
/*        System.out.println("a的初始值" + a);
        int b = a++;
        System.out.println("b的值是" + b);
        System.out.println("a的值是" + a);
        System.out.println("--------------------------");
        int c = 1;
        System.out.println("c的初始值是" + c);
        int d = ++c;
        System.out.println("d的值是"+d);
        System.out.println("c的值是"+c);*/

        /*    System.out.println(3==3);*/

   /*     int m = 1, n = 2;
        System.out.println("最初的值：m=" + m + ",n=" + n);
        if(m>1||n-->1){
            System.out.println("看看我打印出来没有？");
        }*/

       /* int m =2;
        String str =m>3? "m大于3": "m小于3";
        System.out.println(str);*/

       /* double a=1.88;
        int b= (int) a;
        System.out.println(b);*/

     /*   byte a=10;
        int b=15;
        float c=20.2f;
//        double d=a+b+c;
        System.out.println(a+b+c);*/

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入学生姓名：");
        String name=sc.next();
        System.out.println("请输入学生年龄：");
        int age=sc.nextInt();
        System.out.println("学生"+name+",今年"+age+"岁");


    }
}
